/**
 * Copyright (c) 2015-2030 by Beijing Yanlight Co., Ltd.
 * All rights reserved.
 */
package com.yanlight.support.http;

/**
 * 
 *
 * @author haolw
 * @time 2016/09/28
 */
public class FailResponse extends Response {
	private static final long serialVersionUID = 1L;
	private Integer errorCode;
	private String errorMsg;

	public FailResponse() {

	}

	public FailResponse(Integer errorCode, String errorMsg) {
		this.errorCode = errorCode;
		this.errorMsg = errorMsg;
		this.setStatus(FAIL_STATUS);
	}

	public Integer getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(Integer errorCode) {
		this.errorCode = errorCode;
	}

	public String getErrorMsg() {
		return errorMsg;
	}

	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}
}
